/*
 * main.cpp
 *
 *  Created on: 2009-10-9
 *      Author: toxic
 */

#include "image_packer.h"
#include "toxic.h"
#include <iostream>

using namespace toxic;
using namespace std;

int main(int argc, char** argv) {
	xlog.setLevel(LEVEL_TRACE);
	xlog.addAppender(cout);

	PackConfig config;
	config.inputPathname = "e:/toxic/test/images/";
	config.outputPathname = "e:/toxic/test/";
	config.filters = "*.png/*.bmp/*.gif/*.jpg";
	config.isRecursive = true;

	ImagePacker::pack(config);

	xlog.close();
	return 0;
}
